$def with (privData)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)
<h2>$:privData['NAME'] </h2>
<form action="$makeUrl('/admin/ad/save')" method="post">
    <table width="750" border="0" cellspacing="0" cellpadding="1" class="addtable">
        <tr>
            <td width="100" scope="col">分类:</td>
            <td width="608" scope="col">
                <SELECT  name="category" id="category">
                    $for k, v in privData['CATEGORY_LIST'].items():
                    <option value="$:k"
                    $if k == 1:
                        selected="selected"
                    >$:v</option>
                </SELECT>
            </td>
        </tr>

         <tr>
            <td width="100" scope="col">专辑:</td>
            <td width="608" scope="col">
                $:privData['render'].thumbnail_show_widget(privData)
            </td>
        </tr>

        <tr>
            <td colspan="2" scope="col"><input type="submit" name="submit" value="保存" id="submits" onmouseover="instance.post();" /></td>
        </tr>
</form>

</body></html>
